import Lrouter from "lib/Lrouter";
import home from "controller/home/index.js";
import money from "controller/money/index.js";
import shop from "controller/shop/index.js";
import mine from "controller/mine/index.js";

const router=new Lrouter({
    mode:"hash",
    routes:[
        {
            path:"/",
            template:home
        },
        {
            path:"/money",
            template:money
        },
        {
            path:"/shop",
            template:shop
        },
        {
            path:"/mine",
            template:mine
        }
    ]
})

window.router=router;

export default router;